package com.ly.houses.mapper;

import com.ly.houses.model.House;
import com.ly.houses.model.Plate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseMapper {
    void batchSave(List<House> list);
    void batchDelete(List<House> list);
    void  batchUpdate(List<House> list);
    List<House> listHouseByBuildingId(@Param("buildingId") Long buildingId);
    House get(Long houseId);
    void removeAll(List<House> list);
}
